<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"
%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"
%><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"
%><%@ taglib prefix="spring" uri="http://www.springframework.org/tags"
%><%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"
%><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"
%><?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${requestContext.locale.language}">
    <head>
        <title><decorator:title default="Springfuse"/></title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <link rel="shortcut icon" href="${pageContext.request.contextPath}/skins/favicon.ico"/>
		<style type="text/css" media="screen">
			@import url("<c:url value="/skins/styles/header-min.css"/>");
			@import url("<c:url value="/skins/styles/home.css"/>");
			@import url("<c:url value="/skins/styles/common_v2.css"/>");
			@import url("<c:url value="/skins/styles/bought_list-min.css"/>");
		</style>  
		<decorator:head/>
    </head>
    <body>
		<div>
			<div id="header">
				<%@ include file="/WEB-INF/sitemesh/blue/header.jsp"%>
			</div>

			<div id="content" class="clearfix">
				<security:authorize ifAllGranted="ROLE_USER">
				<style>
					#mytaobao-panel .col-sub, #mytaobao-panel .sidebar {
					width: 150px;
					z-index: 9;
					position: relative;
					}
					.grid-c2 .col-sub {
					width: 190px;
					margin-left: -100%;
					}
					#mytaobao-panel .main-wrap {
					margin-left: 160px;
					}
				</style>
				<div id="mytaobao-panel" class="grid-c2">
					<div class="col-main">
						<div class="main-wrap">
							<decorator:body />
						</div>
					</div>
					<div class="col-sub">
						<%@ include file="/WEB-INF/sitemesh/blue/left_menu.jsp"%>
					</div>
				</div>
				</security:authorize>
                <security:authorize ifNotGranted="ROLE_USER">
                    <decorator:body />
                </security:authorize>
			</div>
			<div id="footer">
				<%@ include file="/WEB-INF/sitemesh/blue/footer.jsp"%>
			</div>
		</div>
    </body>
</html>